package com.yzf.service;

import java.util.List;

import com.yzf.dao.ContactNoteDao;
import com.yzf.entity.ContactNote;

public class ContactNoteService {
	
	ContactNoteDao dao = new ContactNoteDao();
	
	public List<ContactNote> findByCidEid(String cid,String eid){
		
		return dao.findByCidEid(cid, eid);
		
	}
	public List<ContactNote> find(String cid,String eid){
		
		return dao.find(cid, eid);
		
	}
	public void save(ContactNote contactNote){
		dao.save(contactNote);
	}
	public void delete(String id){
		dao.delete(id);
	}
	public ContactNote findById(String id) {
		return  dao.findById(id);
		
	}
}
